/**
 * Copyright (c) 2003 held jointly by the individual authors.            
 *                                                                          
 * This library is free software; you can redistribute it and/or modify it    
 * under the terms of the GNU Lesser General Public License as published      
 * by the Free Software Foundation; either version 2.1 of the License, or 
 * (at your option) any later version.                                            
 *                                                                            
 * This library is distributed in the hope that it will be useful, but 
 * WITHOUT ANY WARRANTY; with out even the implied warranty of 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
 * GNU Lesser General Public License for more details.                                                  
 *                                                                           
 * You should have received a copy of the GNU Lesser General Public License   
 * along with this library;  if not, write to the Free Software Foundation,   
 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA.              
 *                                                                            
 * > http://www.gnu.org/copyleft/lesser.html                                  
 * > http://www.opensource.org/licenses/lgpl-license.php
 */
package net.mlw.vlh.adapter.jdbc.util;

import java.util.Properties;

import org.apache.commons.dbcp.BasicDataSource;

/** This class wraps the org.apache.commons.dbcp.BasicDataSource exposing
 *  the prtected connectionProperties as a bean setters and getters.
 * 
 * net.mlw.vlh.adapter.jdbc.util.MyBasicDataSource
 * 
 * @author mwilson
 */
public class MyBasicDataSource extends BasicDataSource
{	
	/**
	 * @return Returns the connectionProperties.
	 */
	public Properties getConnectionProperties()
	{
		return this.connectionProperties;
	}
	/**
	 * @param connectionProperties The connectionProperties to set.
	 */
	public void setConnectionProperties(Properties connectionProperties)
	{
		this.connectionProperties.putAll(connectionProperties);
	}
}